<!DOCTYPE html>
<html>
	<!--<head>
  <meta charset="utf-8">
  <title>layuiAdmin 管理员 iframe 框</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
</head>-->
	{include file="public/header" /}
	<body>
		<div class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
			<div class="layui-form-item">
				<label class="layui-form-label">角色</label>
				<div class="layui-input-block">
					<select name="RoleID">
						{foreach $data as $vo} {if condition="$vo.ID eq $data1.RoleID"}
						<option value=" {$vo.ID}" selected="selected">{$vo.Name}</option>
						{else /}
						<option value=" {$vo.ID}">{$vo.Name}</option>
						{/if} {/foreach}
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">用户名</label>
				<div class="layui-input-inline">
					<input type="text" name="UserName" lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input" value="{$data1.UserName}">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">真实姓名</label>
				<div class="layui-input-inline">
					<input type="text" name="TrueName" lay-verify="required" placeholder="请输入真实姓名" autocomplete="off" class="layui-input" value="{$data1.TrueName}">
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">密码</label>
				<div class="layui-input-inline">
					<input type="password" name="Password" lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input" value="{$data1.Password}">
				</div>
			</div>
			<!--<div class="layui-form-item">
      <label class="layui-form-label">审核状态</label>
      <div class="layui-input-inline">
        <input type="checkbox" lay-filter="switch" name="Status" lay-skin="switch" lay-text="通过|待审核">
      </div>
    </div>-->
    	<input type="hidden" name="ID" lay-verify="required" placeholder="隐藏域 编辑用户ID" autocomplete="off" class="layui-input" value="{$data1.ID}">
			<div class="layui-form-item layui-hide">
				<button class="layui-btn" lay-submit lay-filter="LAY-user-back-submit" id="LAY-user-back-submit">提交</button>

			</div>
		</div>

		<!--<script src="../../../layuiadmin/layui/layui.js"></script>-->
		{include file="public/footer" /}
		<script>
			layui.use(['form'], function() {
				var $ = layui.$,
					form = layui.form;
			})
		</script>
	</body>

</html>